home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 1 / ACE CD 1.iso / files / utils / acroarex.dms / in.adf / PROGRAMMERS / arcoSUPPORT.h next >
Encoding:
Text File  |  1994-06-14  |  2.5 KB  |  40 lines

  1. /**********************************************************************/
  2. /*                    ArCoIF.h ( ArCoInterFace.h )                    */
  3. /*                   © Michael A Sewell 13 Jun 1994                   */
  4. /*»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»*/
  5. /*                      Freely Re-Distributable                       */
  6. /*««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««*/
  7. /*          I can't really be held responsible if this blows          */
  8. /*        up in your face, But I would like to know about it!         */
  9. /**********************************************************************/
  10.  
  11. BOOL SendMacro( char *, char * , BOOL, char * );
  12. /**********************************************************************/
  13. /*          void SendMacro( macro, name, async, portname)             */
  14. /* Where macro is the name of the macro to send, (Same name as the    */
  15. /* Object file) You will have to use the ampresand operator (&) to    */
  16. /* pass the address to this function.                                 */
  17. /* name is the name you wish to use in the CON: window should it be   */
  18. /* required.                                                          */
  19. /* async is FALSE if you wish to run macro syncronously or TRUE if you*/
  20. /* have no wish to Wait. (In whic case, you must call cleanup() as    */
  21. /* of your own cleanup sequence at the end, This may delay the final  */
  22. /* exit of your program as it will not Close the port on a still      */
  23. /* Macro, After all, You don't want any nasty surprises do you?       */
  24. /* portname is your chosen portname, if your not bothered, put NULL   */
  25. /* and it will default to "ArCoSIBLING"                               */
  26. /*--------------------------------------------------------------------*/
  27. /* Example:    SendMacro( &Marquis, "Polyp", FALSE, "RectalPORT" )   */
  28. /*--------------------------------------------------------------------*/
  29. /*             NOTE: DONT FORGET TO DECLARE YOUR MACRO AS             */
  30. /* "extern __chip char MACRO" (of course substituting your own macro  */
  31. /* name such as Marquis etc.                                          */
  32. /**********************************************************************/
  33.  
  34. void cleanup( void );
  35. /**********************************************************************/
  36. /* This is called as part of your cleanup routine if you ran your     */
  37. /* in an asyncronous mode                                             */
  38. /**********************************************************************/
  39.  
  40.